﻿using SqlSugar;

namespace SoEasyPlatform.LayUiExample.Enties.DbModels
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("sys_permission")]
    public partial class sys_permission
    {
           public sys_permission(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? pid {get;set;}

           /// <summary>
           /// Desc:权限类型[menu/permission]
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string type {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string title {get;set;}

           /// <summary>
           /// Desc:权限编码[只有type= permission才有  user:view]
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string percode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string icon {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string href {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string target {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? open {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? ordernum {get;set;}

           /// <summary>
           /// Desc:状态【0不可用1可用】
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? available {get;set;}

    }
}
